SmartPay\Models\Product S

Total Complexity 26
Dependencies 0
Dependents 9
Total lines 160
Lines of code 78
Logical lines of code 39
Comment lines 21
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
boot()
S
58 4 17
isVariation()
S
71 2 6
getPriceAttribute()
S
79 2 3
getFormattedTitleAttribute()
S
71 2 6
isPurchasable()
S
67 2 7
isParent()
S
79 2 3
hasVariations()
S
70 2 6
getSettingsAttribute()
S
79 1 3
setExtraAttribute()
S
78 1 3
getExtraAttribute()
S
79 1 3
variations()
S
79 1 3
getFilesAttribute()
S
79 1 3
parent()
S
79 1 3
setCoversAttribute()
S
78 1 3
getCoversAttribute()
S
79 1 3
setFilesAttribute()
S
78 1 3
setSettingsAttribute()
S
78 1 3